﻿/*
*┌────────────────────────────────────────────────┐
*│　描    述：HospSort                                                   
*│　作    者： (Jxw)                                             
*│　版    本：1.0     
*│　功能描述：                                          
*│　创建时间：2021/7/26 14:48:58                        
*└────────────────────────────────────────────────┘
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class HospSort
    {
        // <summary>
        /// 消息ID  uuid
        /// </summary>
        public string msgId { get; set; }
        /// <summary>
        /// creationTime  格式：YYYYMMDDHHMMSS(24h)
        /// </summary>
        public string creationTime { get; set; }

        /// <summary>
        /// 请求消息ID   对应请求消息的msgId
        /// </summary>
        public string vendorId { get; set; }
        public string jgdm { get; set; }
        /// <summary>
        /// 当前地址经度
        /// </summary>
        public double longitude { get; set; }

        /// <summary>
        /// 当前地址纬度
        /// </summary>
        public double latitude { get; set; }
    }


    public class hospDTO
    {

        /// <summary>
        /// 医院机构代码
        /// </summary>
        public string orgCode { get; set; }

        /// <summary>
        /// 医院机构名称
        /// </summary>
        public string orgName { get; set; }

        /// <summary>
        /// 距离
        /// </summary>
        public string distance { get; set; }

        /// <summary>
        /// 资源列表
        /// </summary>
        public List<OrgResourceDTO> resources { get; set; }
       
    }


    public class HospRequestDTO
    {

        /// <summary>
        /// 消息ID  uuid
        /// </summary>
        public string msgId { get; set; }
        /// <summary>
        /// creationTime  格式：YYYYMMDDHHMMSS(24h)
        /// </summary>
        public string creationTime { get; set; }

        /// <summary>
        /// 请求消息ID   对应请求消息的msgId
        /// </summary>
        public string vendorId { get; set; }
        public string jgdm { get; set; }
        public string longitude { get; set; }
        public string latitude { get; set; }
    }

}
